<template>
  <div>
      <div class="sIx">
        <div class="one" v-for="(v,i) in arr1" :key="i">
          <div class="top">
            <img :src="v.img" alt="">
          </div>
        <div class="bottom">
          <div class="shang">{{v.text}}</div>
          <div class="xia">{{v.text1}}</div>
        </div>
        </div>
      </div>
  </div>
</template>

<script>
import getapi from "@/apis/getapi.js";
export default {
  mounted() {
    getapi("/xiaojiang").then((ok) => {
      this.arr1 = ok.data.data8;
      // console.log(ok);
    });
  },
    data() {
    return {
      arr1: [],
    
    };
  },
}
</script>

<style scoped>
.sIx{
  width: 100%;
  height: 2rem;
  display: flex;
  justify-content: space-between;
  /* background-color: blue; */
  flex-wrap: wrap;
  margin-bottom: 00.5rem;
}
.one{
  width: 32%;
  height: 1rem;
  /* background-color: aqua; */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 00.24rem;
}
.top{
  width: 100%;
  height: 0.6rem;
  /* background-color: brown; */
}
.top img{
  width: 100%;
  height: 100%;
}
.bottom{
  width: 100%;
  height: 0.4rem;
}
.shang{
  width: 100%;
  height: 0.2rem;
  /* background-color: cadetblue; */
  text-align: center;
  line-height: 00.2rem;
  font-size: .14rem;
  font-weight: 600;
}
.xia{
  width: 100%;
  height: 0.2rem;
  /* background-color: rgb(32, 158, 70); */
  text-align: center;
  line-height: 00.2rem;
  font-size: .12rem;
  color: #b2b2b0;
}
</style>